import React, { Component } from 'react';
import { TextArea,NavBar,Rate,Toast,Button} from 'antd-mobile'
import '../styles/jianyi.scss'
class jianyi extends Component {
    render() {
        return (
            <div className='jianyi'>
                <div className="top">
                    <NavBar onBack={() => { this.props.history.go(-1) }} ><p>评分</p></NavBar>
                </div>
                <h3>请为我们打分</h3>
                <Rate onChange={val => Toast.show(val.toString())} />
                <h3>请为我们提供您宝贵的意见</h3>
                <TextArea
                    placeholder='请输入内容'
                    autoSize={{ minRows: 3, maxRows: 5 }}
                />
                <Button block color='primary' size='large' onBack={() => { this.props.history.go(-1) }}>
          提交
        </Button>
            </div>
        );
    }
}

export default jianyi;